package tianwang.utils.dict;

import java.util.HashMap;
import java.util.Map;


public class Lemma2Dict extends DictionaryImplBase {
	//词条的字段名
	public final static String SPEECH = "speech";
	
	public Lemma2Dict(){
		
		//设置词典大小
		//共有33个词条，4/3倍 是44 ,2^5=32 2^6= 64
		this.setDictionarySize(64);
		
		this.setCorpusPath("lemma2.txt");
		
		//设置词条模板
		Map<String, Integer> entryTemplate = new HashMap<String, Integer>();
		entryTemplate.put(Entry.CORE_WORD, 0);
		this.setEntryTemplate(entryTemplate);
		
		this.setEntryProcesser(new RegularEntryProcesserImpl());
	}
}
